import request from "../utils/request";

// 获取喜欢的音乐
export const getLikeSongList = () => {
  return request({
    method: "get",
    url: "/likelist",
   
  })
}

// 获取歌曲详情
export const getSongDetail = (ids:any) => {
  return request({
    method: 'get',
    url: '/song/detail',
    params: {
      ids: ids
    }
  })
}

// 获取歌单详情
export const getPlayListDetail = (id:any) => {
  return request({
    method: 'get',
    url: '/playlist/detail',
    params: {
      id: id
    }
  })
}